package my.edu.model.bills.bound.service;

import com.baomidou.mybatisplus.extension.service.IService;
import my.edu.model.bills.bound.entity.OtherInboundOrder;
import my.edu.model.bills.bound.entity.OtherInboundOrderDetail;
import my.edu.model.bills.bound.entity.dto.InboundDetailDTO;

import java.util.List;

public interface IOtherInboundOrderDetailService extends IService<OtherInboundOrderDetail> {
    void saveByDTO(List<InboundDetailDTO> inboundDetailDTOList, OtherInboundOrder otherInboundOrder);

    void addStockByOrderId(List<Long> longs);

    void subStockByOrderId(List<Long> longs);

    void removeByOrderId(List<Long> longs);

    void updateByDTO(List<InboundDetailDTO> inboundDetailDTOList, OtherInboundOrder byId);
}
